﻿using Microsoft.Extensions.Localization;
using _2112A_2_MES.Localization;
using Volo.Abp.Ui.Branding;
using Volo.Abp.DependencyInjection;

namespace _2112A_2_MES.Web;

[Dependency(ReplaceServices = true)]
public class _2112A_2_MESBrandingProvider : DefaultBrandingProvider
{
    private IStringLocalizer<_2112A_2_MESResource> _localizer;

    public _2112A_2_MESBrandingProvider(IStringLocalizer<_2112A_2_MESResource> localizer)
    {
        _localizer = localizer;
    }

    public override string AppName => _localizer["AppName"];
}
